window.onload = function(){
//首页投票按钮
	var oShareBtn = document.getElementById("shareBtn");
	var shareAlertBody = document.getElementById("shareAlertBody");
	var alertBg = document.getElementById("alertBg");
	oShareBtn.onclick = function(){
		shareAlertBody.style.display = "block";
		alertBg.style.display = "block";
	}
	//点击黑色区域
	alertBg.onclick = function(){
		shareAlertBody.style.display = "none";
		alertBg.style.display = "none";
	}
}